import request from "@/request/request";
export function getImgIndex(){
    return request({
        url:'/index/index-img',
        method:'GET'
    })
}
//获取分类列表
export function getCategories(){
    return request({
        url:'/index/category-list',
        method:'GET'
    })
}
//获取推荐商品
export function getRecommendProducts(){
    return request({
        url:'/index/list-recommends',
        method:'GET'
    })
}
//获取分类推荐商品
export function getCategoryRecommendProducts(){
    return request({
        url:'/index/list-category-recommends',
        method:'GET'
    })
}